STEP 8: Let's make something happen when our sprite reaches the object it's going to!
- Click on . Drag Collision into the bottom of your program.
- Click Run and watch what happens when your sprite collides with the flower.
Events are a special kind of code that runs only if something happens to trigger the event. Sometimes we trigger events with the keyboard or the mouse. In this case, the event will run when our sprite collides with another sprite.
To navigate the page using the TAB key, first press ESC to exit the code editor.